package cn.edu.xjtu;

public class test {
    public static void main(String[] args) {
//        String str = "abc(123)[231]";
//        String[] strList = str.split("/\\((.+?)\\)/g");
//        Matcher mat = Pattern.compile("\\((.*?)\\)").matcher(str);
//        mat.find();
//        System.out.println(mat.group(1));
        String str = "![image-20210929235359707](04_Process.assets/image-20210929235359707.png)";
        System.out.println(str.matches(".*!\\[.*]\\(.*.png\\)"));
    }
}
